.class Lcom/waiqin365/lightapp/visit/cr;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/bt;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 2

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;)Ljava/lang/String;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/visit/da;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/cs;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cs;-><init>(Lcom/waiqin365/lightapp/visit/cr;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/da;->post(Ljava/lang/Runnable;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->e()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Ljava/util/ArrayList;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/cr;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0
.end method
